﻿#include "houseInfo.h"

HouseInfo::HouseInfo()
{

}

HouseInfo::HouseInfo(QString house, QString hotel, QString type, int price, int count,
                QString area, int capacity, QString bedType, QString bathroom,
                QString window, QString net, QString breakfast, QString media,
                QString bathroomAcc, QString isFull, QString path)
{
    m_price = price;
    m_count = count;
    m_house = house;
    m_hotel = hotel;
    m_isFull = isFull;
    m_type = type;
    m_photo = path;
    m_bedType = bedType;
    m_area = area;
    m_capacity = capacity;
    m_bathroom = bathroom;

    m_net = net;
    m_breakfast = breakfast;
    m_media = media;
    m_window = window;
    m_bathroomAcc = bathroomAcc;
}

int HouseInfo::getCount() const
{
    return  m_count;
}
int HouseInfo::getPrice() const
{
    return  m_price;
}
int HouseInfo::getCapacity() const
{
    return  m_capacity;
}
const QString& HouseInfo::getArea() const
{
    return  m_area;
}
const QString& HouseInfo::getHouse() const
{
    return  m_house;
}
const QString& HouseInfo:: getHotel() const
{
    return  m_hotel;
}
const QString& HouseInfo:: getIsFull() const
{
    return  m_isFull;
}
const QString& HouseInfo::getType() const
{
    return  m_type;
}
const QString& HouseInfo::getPhoto() const
{
    return  m_photo;
}
const QString& HouseInfo::getBedType() const
{
    return  m_bedType;
}
const QString& HouseInfo::getBathroom() const
{
    return  m_bathroom;
}

const QString &HouseInfo::getNet() const
{
    return  m_net;
}
const QString &HouseInfo::getBreakfast() const
{
    return  m_breakfast;
}
const QString &HouseInfo::getMedia() const
{
    return  m_media;
}
const QString& HouseInfo::getWindow() const
{
    return  m_window;
}
const QString& HouseInfo::getBathroomAcc() const
{
    return  m_bathroomAcc;
}

void HouseInfo::setCount(int count)
{
    m_count = count;
}
void HouseInfo::setPrice(int price)
{
    m_price = price;
}
void HouseInfo::setArea(const QString& area)
{
    m_area = area;
}
void HouseInfo::setCapacity(int capacity)
{
    m_capacity = capacity;
}
void HouseInfo::setHouse(const QString& house)
{
    m_house = house;
}
void HouseInfo::setHotel(const QString& hotel)
{
    m_hotel = hotel;
}
void HouseInfo::setIsFull(const QString& isFull)
{
    m_isFull = isFull;
}
void HouseInfo::setType(const QString& type)
{
    m_type= type;
}
void HouseInfo::setPhoto(const QString& path)
{
    m_photo = path;
}
void HouseInfo::setBedType(const QString& bedType)
{
    m_bedType = bedType;
}
void HouseInfo::setBathroom(const QString& bathroom)
{
    m_bathroom = bathroom;
}
void HouseInfo::setNet(const QString& net)
{
    m_net = net;
}
void HouseInfo::setBreakfast(const QString& breakfast)
{
    m_breakfast = breakfast;
}
void HouseInfo::setMedia(const QString& media)
{
    m_media = media;
}
void HouseInfo::setWindow(const QString& window)
{
    m_window = window;
}
void HouseInfo::setBathroomAcc(const QString& bathroomAcc)
{
    m_bathroomAcc = bathroomAcc;
}
